﻿<Window x:Class="Brjnk.GpxExplorer.UI.Controls.ColorDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:l="clr-namespace:Brjnk.GpxExplorer.Localization"
        Title="{l:Loc titleColorDialog}" SizeToContent="WidthAndHeight">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <UniformGrid Rows="7"  Columns="8" Name="table">
        </UniformGrid>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Grid.Row="0">R:</TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="1">G:</TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="2">B:</TextBlock>

            <TextBox Grid.Column="1" Width="40" Grid.Row="0" Name="txbR" />
            <TextBox Grid.Column="1" Width="40" Grid.Row="1" Name="txbG" />
            <TextBox Grid.Column="1" Width="40"  Grid.Row="2" Name="txbB" />

            <Button Content="{l:Loc ok}" Grid.Column="2" Grid.Row="2" Click="Button_Click" />
        </Grid>
    </Grid>
</Window>